Crate com_rs

Source
Expand description

§com-rs 0.1.4

Rust bindings for the Win32 [Component Object Model] (https://msdn.microsoft.com/en-us/library/ms680573.aspx).

§Overview

This crate is composed of three main components:

  • The com_interface! (macro.com_interface!.html) macro for defining new interface types.
  • The ComPtr type for making use of them.
  • Definition of IUnknown, the base COM interface.

Macros§

  • Macro for generating COM interface definitions.
  • Helper macro for defining IID constants.

Structs§

  • Wrapper type for COM interface pointers.
  • Interface identifier.
  • Base interface for all COM types.

Traits§

  • Helper trait for ComPtr. Defines which types of raw pointer can be returned by as_ptr/as_mut_ptr.
  • Helper trait for ComPtr. Implemented automatically by the com_interface! macro.

Type Aliases§